package com.zjhn.ds.domain.entity.erp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sxt
 * @since 2023-09-01 16:29:09
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("dbo.pro_task")
public class ProTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String id;

    @TableField(value = "trade_orderid")
    private String tradeOrderId;

    private String code;

    private Integer number;

    @TableField(value = "ProductRemainder")
    private Integer productRemainder;

    @TableField(value = "product_ids")
    private String productIds;

    @TableField(value = "product_codes")
    private String productCodes;

    @TableField(value = "package")
    private Integer packageQty;

    @TableField(value = "audit_state")
    private String auditState;

    @TableField(value = "audit_user")
    private String auditUser;

    @TableField(value = "audit_time")
    private Date auditTime;

    @TableField(value = "audit_memo")
    private String auditMemo;

    private String state;

    @TableField(value = "IsDeleted")
    private Integer isDeleted;

    @TableField(value = "CreatorId")
    private String creatorId;

    @TableField(value = "CreationTime")
    private Date creationTime;

    @TableField(value = "LastModifierId")
    private String lastModifierId;

    @TableField(value = "LastModificationTime")
    private Date lastModificationTime;

    private String memo;

    private String bak1;

    private String bak2;

    private BigDecimal bak3;

    @TableField(value = "StartProduceTime")
    private Date startProduceTime;

    @TableField(value = "change_produce_time")
    private Date changeProduceTime;

    @TableField(value = "EndProduceTime")
    private Date endProduceTime;

    private Integer lots;

    @TableField(value = "ReworkTab")
    private String reworkTab;

    @TableField(value = "MainGuid")
    private String mainGuid;

    @TableField(value = "flowCode")
    private String flowCode;

    @TableField(value = "khStyle")
    private String khStyle;

    @TableField(value = "dyStyle")
    private String dyStyle;

    @TableField(value = "sjmaterial")
    private String sjmaterial;

    @TableField(value = "khmaterial")
    private String khmaterial;

    @TableField(value = "specialSize")
    private String specialSize;

    private BigDecimal price;

    @TableField(value = "is_finish")
    private Integer isFinish;

    @TableField(value = "FinalGoodsQty")
    private BigDecimal finalGoodsQty;

    @TableField(value = "DeleterId")
    private String deleterId;

    @TableField(value = "DeletionTime")
    private Date deletionTime;

    @TableField(value = "TenantId")
    private String tenantId;

}
